//
//  AppDelegate.m
//  BurnFat
//
//  Created by lanou3g on 16/5/5.
//  Copyright © 2016年 ZhaoYingWei. All rights reserved.
//

#import "AppDelegate.h"
#import "YWTabBarController.h"
#import "SDWebImageManager.h"
@interface AppDelegate ()

@end

@implementation AppDelegate


- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
    sleep(1);
    [self SetUpRootViewController];
  
   
    return YES;
}
-(void)SetUpRootViewController
{
    self.window = [[UIWindow alloc]initWithFrame:[UIScreen mainScreen].bounds];
    self.window.backgroundColor =[UIColor whiteColor];
    [self.window makeKeyAndVisible];
    self.window.rootViewController = [[YWTabBarController alloc]init];
}
- (void)applicationWillResignActive:(UIApplication *)application {

}

- (void)applicationDidEnterBackground:(UIApplication *)application {

}

- (void)applicationWillEnterForeground:(UIApplication *)application {
    
}

- (void)applicationDidBecomeActive:(UIApplication *)application {

}

- (void)applicationWillTerminate:(UIApplication *)application {

}

@end
